package com.gopay.common.core.dic.manager;

import java.io.Serializable;
import java.util.List;

import com.gopay.common.base.manager.BaseManager;
import com.gopay.common.constants.dic.SchemaCode;
import com.gopay.common.domain.cbrmb.CbRmbAcpsSchemaAcctRel;

/**
 * 跨境人民币的内部帐 
 * CbRmbAcpsSchemaAcctRelQueryManager.java
 * @author qld
 * @2016-11-02 下午3:27:20  www.gopay.com.cn Inc.All rights reserved.
 */
public interface CbRmbAcpsSchemaAcctRelQueryManager extends BaseManager<CbRmbAcpsSchemaAcctRel, Serializable> {
    /**
     * 查询当前交易下所有内部账号
     * @param gopayIntTxnCd 
     * @return
     */
    List<CbRmbAcpsSchemaAcctRel> getInnerAccts(String gopayIntTxnCd);
    
    /**
     * 查询内部帐
     * @param schemaCode 会计分类
     * @param gopayIntTxnCd 内部交易码
     * @return
     */
    String getInnerAcct(SchemaCode schemaCode, String gopayIntTxnCd);
}
